package com.example.administrator.myapplication;

import com.tencent.tinker.loader.app.TinkerApplication;
import com.tencent.tinker.loader.shareutil.ShareConstants;

/**
 * Description:
 * Author: MiraclesHed
 * Date: 2017/12/09
 * Email: miracleshed@163.com
 */

public class App extends TinkerApplication {
    public static App mInstance;

    public App() {
        super(ShareConstants.TINKER_ENABLE_ALL, "com.example.administrator.myapplication.AppLike",
                "com.tencent.tinker.loader.TinkerLoader", false);
    }

    public static App getInstance() {
        return mInstance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mInstance = this;
    }
}
